﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;

namespace MND.Commands
{
    class CommandProcessor
    {
        protected object synchRoot = new object();
        protected Queue<UserCommand> queue = new Queue<UserCommand>();

        public void Enqueue(UserCommand uc)
        {
            lock (synchRoot)
            {
                queue.Enqueue(uc);
            }
        }

        public virtual void Process() { }
    }
}
